﻿@{ var ads = AfrikDotnetWebSite.Helpers.AdHelper.GetAds(); }
@foreach (var ad in ads) 
{
    <div class="ad bm">
        <div class="title">
            Ad
        </div>
        <a href="@ad.Link" target="_blank">
            <img class="img" alt="@ad.AlternateText" src="~/static/img/ads/@ad.Image" />
        </a>
    </div>
}